package com.ruoyi.drug.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药物资源管理对象 drug_inventory
 * 
 * @author ruoyi
 * @date 2024-07-05
 */
public class DrugInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药物编号 */
    private Long drugId;

    /** 药物名称 */
    @Excel(name = "药物名称")
    private String drugName;

    /** 库存量 */
    @Excel(name = "库存量")
    private Long stockQuantity;

    /** 药品功效 */
    @Excel(name = "药品功效")
    private String drugEfficacy;

    /** 药品类型 */
    @Excel(name = "药品类型")
    private String drugType;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setStockQuantity(Long stockQuantity) 
    {
        this.stockQuantity = stockQuantity;
    }

    public Long getStockQuantity() 
    {
        return stockQuantity;
    }
    public void setDrugEfficacy(String drugEfficacy) 
    {
        this.drugEfficacy = drugEfficacy;
    }

    public String getDrugEfficacy() 
    {
        return drugEfficacy;
    }
    public void setDrugType(String drugType) 
    {
        this.drugType = drugType;
    }

    public String getDrugType() 
    {
        return drugType;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drugId", getDrugId())
            .append("drugName", getDrugName())
            .append("stockQuantity", getStockQuantity())
            .append("drugEfficacy", getDrugEfficacy())
            .append("drugType", getDrugType())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
